package com.example.demojdbc.Entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Date;

@Data
public class Employee {
    private Integer id;
    private String last_name;
    private String email;
    private String gender;
    private Integer department;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birth;
}
